<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>测试返回的数据结果</title>
    <script src="js/jquery-1.9.1.js"></script>
</head>
<body>
<div id="result"></div>
</body>
</html>
<script>
//    要一下所有的文章
    $.ajax({
        method:"GET",
        url:'get.php?action=on=get_list',
        data:''
    }).success(function (data) {
        var dataObj = JSON.parse(data);
//            console.log(dataObj);
        $.each(dataObj,function (key,item) {
//                console.log(item);
        })
    })
//要一下分类
    $.ajax({
        method:'GET',
        url:'get.php?action=get_arctype'
    }).success(function (data) {
        console.log(data);
        var dataObj = JSON.parse(data);
        console.log(dataObj);
    })
</script>